Kunio-kun Community

A forum dedicated to the Kunio-kun game series.
 
HomePortalFAQSearchRegisterLog in
ANNOUNCEMENT: Come join #KunioKun! Our own IRC Channel on irc.esper.net!
ANNOUNCEMENT: We are now on Steam as well! Come join us if you'd like: http://steamcommunity.com/groups/Kunio-kun
HEADS-UP: Join the ChatBox for some live... well... chatting! Just scroll down below on the forum front page!
ATTENTION! Forum address has been changed to kkgc.forum-motion.net!
COMING UP: Forum rules update. A possible reputation system?

Share | 
 

 A Bit of Help With My WIP Kunio Engine

View previous topic View next topic Go down 
AuthorMessage
Fairfield
Gang Thug


Posts : 16
Join date : 2013-05-01

PostSubject: A Bit of Help With My WIP Kunio Engine   Wed May 01, 2013 11:30 am

So yeah; I want to make a Kunio fangame. I have some experience with Game Maker, but the bit of this (admittedly young) project that is giving me trouble is the attacking. I prefer to use the official style of one move for every button press (instead of holding a button to attack constantly), and since an animation apparently loops endlessly if nothing else happens, I assumed that what I should have done was just make a new object for punching.

So I did, and this object in itself more-or-less behaves the way I hoped; upon pressing my punch button, it plays the punch animation once and then goes back to idle. However, there is an unforseen problem with this mechanic. Earlier, I'd put in a variable called "FacingRight". This would save data as to the character's direction every time right or left was pushed, so even with different sprites loaded than walking, it would still face the right way. The problem is that of course, I had to define this variable initially, and I did so in the "Create" event of the default object. That was before I made a separate punching object, and since the punching object now recreates the default object to after it's done punching, it just jumps to facing left.

Hopefully, you can understand my dilemma (I've included the file, just in case), and if so, please help.
Attachments
RiverCityRiot.zip
You don't have permission to download attachments.
(16 Kb) Downloaded 4 times
Back to top Go down
 
A Bit of Help With My WIP Kunio Engine
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Panda3d Engine
» Wildsau 3D Engine
» GlobeKIDD's Paints and Fav Pics
» Building a Chaos Dwarf Doom Engine
» Ok for non-engine Wolf3D clones?

Permissions in this forum:You cannot reply to topics in this forum
Kunio-kun Community :: Modder's Corner :: Help Center-
Jump to: