• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:52
CEST 04:52
KST 11:52
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence9Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
BW General Discussion [ASL20] Ro16 Preview Pt2: Turbulence ASL20 General Discussion Diplomacy, Cosmonarchy Edition BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Borderlands 3
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1217 users

Making a game #2

Blogs > ClysmiC
Post a Reply
ClysmiC
Profile Blog Joined December 2010
United States2192 Posts
Last Edited: 2011-12-03 05:49:59
December 03 2011 05:40 GMT
#1
So in the summer, I decided to try and make a game with gamemaker and blog my progress. Well yeah, I wasn't really happy with my art (it was kinda lame, and it was a pain to animate), and my motivation kinda died out.

But, I am at it again. The story-line and game style are still going to be the same as they were planned in my first thread. But this time I have more than just mere ideas, I have actual progress. Over the past week, I've created a movement engine from scratch, redrawn a smaller, easier sprite and animated it to run, jump, fall, and cast spells (while standing, running, jumping, or falling).

Here are my sprites!
+ Show Spoiler +

Main Character running animation. The first frame is alse his sprite when he is standing still.
[image loading]

1st frame- Jumping, 2nd frame - Falling
[image loading]

Casting spell from a standstill (imagine a fireball coming out of his hand after the 4th frame)
[image loading]

Casting spell while running
[image loading]

Casting while jumping
[image loading]

Casting while falling
[image loading]


I don't really pre-plan what I am going to do each day when I sit down to work on my game. I kind of just keep a mental checklist of the next two or three things that I want to do, and by the time I have finished one or two of those, I think of one or two more things to add to the checklist. Maybe that's inefficient, but it's just how I work.


Here is all of the things I've knocked off my checklist:

+ Show Spoiler +
-Draw/animate sprite
-Implement basic right/left movement
-Add screen-scrolling feature that ensures that the character's back is always near the edge of the screen, whether they are facing right or left (thus giving them view of a large area in the direction the sprite is looking).
-Implement jumping and gravity
-Make sure the sprite reverts back to a standing one after landing from a jump
-Add mechanic in which holding down the spacebar results in a higher jump
-Add ability to cast fireball spell while standing still
-Add ability to cast fireball spell while running
-Add ability to cast fireball spell while jumping/falling
-Implement seemless transition of animation if character changes direction, jumps, or falls in the middle of the spell-casting animation (ex: If the player jumps while he is in frame 2 of the cast-while-running animation, the next frame will show him in frame 3 of the cast-while-jumping animation)



Things I'm planning on doing within a few days:

+ Show Spoiler +
-Draw animated fireball for when the fireball spell is cast (I'm currently just using a 5x5 orange block as a placeholder sprite)
-Add collision behavior to the fireball, so it gets destroyed when it hits walls.
-Add ability to cast fireball spell straight up, or straight down (if character is in mid-air).
-Add levitation spell that can be cast while in mid-air, and allows the character to temporarily hover.



Frustrating-as-hell bugs that I overcame:

+ Show Spoiler +
-Often, when I was testing the jump mechanic, the sprite would land 1 pixel above the platform, and appear to be hovering above it. See below for how I solved it.
-Some pixels were being drawn bigger than others... kind of hard to explain. Here are some screenshots to help:

How it's supposed to look
[image loading]

How it looks when I playtest (notice the discrepencies in the orange ball and the characters neck, among others)
[image loading]

I solved both these bugs the same way. I had a feeling that it had to do with the game trying to draw pixels at non-integer coordinates, and thus oddly scaling/stretching individual pixels. Some of my variables (such as gravity) are set to non-integers, so this kind of made sense that this would be the case... I just couldn't think of how to fix it. I asked for help on the Game Maker forums, and received the solution to both problems in one simple line of code!

In the "draw" event:
    draw_sprite_ext(sprite_index, image_index, round(x), round(y), image_xscale, image_yscale, image_angle, image_blend, image_alpha);


Bascially, this code says that every time that a sprite is drawn, redraw it with rounded x and y coordinates.


*****
EatThePath
Profile Blog Joined September 2009
United States3943 Posts
December 03 2011 09:15 GMT
#2
Gamemaker is fun.

Sprites are a pain. :\

glhf to you! I hope to catch any update blogs. ^^
Comprehensive strategic intention: DNE
hp.Shell
Profile Blog Joined April 2010
United States2527 Posts
December 03 2011 10:30 GMT
#3
Very cool! Good luck with burnout. I like this character better than the one in the other topic. I hope you finish this because it looks like a fun one! Did you decide to keep both versions of the character? And is there a recolor of this sprite if so? Also I'm wondering how you animate the transition from Jumping to Falling. Do you keep the Jumping animation while falling from a jump or do you transition it into the Falling animation? Nice work.
Please PM me with any songs you like that you think I haven't heard before!
ClysmiC
Profile Blog Joined December 2010
United States2192 Posts
December 03 2011 16:33 GMT
#4
On December 03 2011 19:30 hp.Shell wrote:
Very cool! Good luck with burnout. I like this character better than the one in the other topic. I hope you finish this because it looks like a fun one! Did you decide to keep both versions of the character? And is there a recolor of this sprite if so? Also I'm wondering how you animate the transition from Jumping to Falling. Do you keep the Jumping animation while falling from a jump or do you transition it into the Falling animation? Nice work.

I'm still planning on having good/evil versions of the character and the storyline. Although I haven't drawn the evil version yet (but it should only take like 20 minutes to recolor all the sprites).

As for the difference between jumping and falling, yes I do transition it. If the character is in the air and has an upward velocity, it shows the jumping sprite. If he is in the air and has a downward velocity, it shows the falling sprite. So every time the character jumps, the sprite will change to falling right after the peak of his jump.
hp.Shell
Profile Blog Joined April 2010
United States2527 Posts
December 04 2011 16:36 GMT
#5
Ok. I just thought it might seem a little weird having his legs switch so fast. Not sure how you would change that though. But if it works, it works. Sometimes stuff like that actually makes the game look better.
Please PM me with any songs you like that you think I haven't heard before!
Please log in or register to reply.
Live Events Refresh
PiGosaur Monday
00:00
#49
SteadfastSC301
EnkiAlexander 90
davetesta40
Liquipedia
OSC
23:00
OSC Elite Rising Star #16
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft343
SteadfastSC 301
Nina 200
RuFF_SC2 149
StarCraft: Brood War
NaDa 34
Noble 29
Icarus 10
Dota 2
monkeys_forever733
NeuroSwarm99
LuMiX2
Counter-Strike
Coldzera 149
semphis_32
Super Smash Bros
Mew2King23
Other Games
summit1g5535
shahzam964
C9.Mang0309
ViBE168
Maynarde148
XaKoH 93
Trikslyr48
kaitlyn27
Organizations
Other Games
gamesdonequick767
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush601
• Stunt202
• Lourlo91
Other Games
• Scarra1371
Upcoming Events
LiuLi Cup
8h 8m
OSC
16h 8m
RSL Revival
1d 7h
Maru vs Reynor
Cure vs TriGGeR
The PondCast
1d 10h
RSL Revival
2 days
Zoun vs Classic
Korean StarCraft League
3 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
BSL Open LAN 2025 - War…
4 days
RSL Revival
4 days
[ Show More ]
Online Event
4 days
Wardi Open
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.