• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:54
CEST 06:54
KST 13:54
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou10Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
Weekly Cups (March 17-23): Clem Bounces Back Chinese SC2 server to reopen; live all-star event in Hangzhou RotterdaM "Serral is the GOAT, and it's not close" DreamHack Open 2013 revealed The New Patch Killed Mech!
Tourneys
$1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BW General Discussion Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ The Lose More Card BSL Season 21
Tourneys
300$ 3D!Community Brood War Super Cup #4 [ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues
Strategy
Current Meta Roaring Currents ASL final [I] Funny Protoss Builds/Strategies [I] TvZ Strategies and Builds
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread US Politics Mega-thread The Chess Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1296 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
#54
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 136
StarCraft: Brood War
Shuttle 685
Aegong 42
Noble 27
Purpose 11
Icarus 6
NotJumperer 1
Dota 2
monkeys_forever441
League of Legends
JimRising 902
Reynor73
Counter-Strike
Stewie2K593
Super Smash Bros
hungrybox492
Other Games
summit1g8409
C9.Mang0390
WinterStarcraft303
Tasteless42
Mew2King29
Trikslyr20
Organizations
Other Games
gamesdonequick1057
Counter-Strike
PGL211
Other Games
BasetradeTV110
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler12
League of Legends
• Rush1167
• Lourlo727
• Stunt437
Other Games
• WagamamaTV125
Upcoming Events
Replay Cast
5h 6m
OSC
11h 6m
Tenacious Turtle Tussle
18h 6m
The PondCast
1d 5h
OSC
1d 7h
WardiTV Invitational
2 days
Online Event
2 days
RSL Revival
2 days
RSL Revival
3 days
WardiTV Invitational
3 days
[ Show More ]
Afreeca Starleague
4 days
Snow vs Soma
Sparkling Tuna Cup
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
RSL Revival
4 days
Wardi Open
5 days
CrankTV Team League
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.