Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


My game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Rednight
Grandmaster Cheater
Reputation: 0

Joined: 28 Oct 2007
Posts: 791

PostPosted: Mon Jun 09, 2008 3:52 pm    Post subject: My game Reply with quote

im designing a game
http://www.fileden.com/files/2007/12/28/1666989/Basics.swf (what ive got now might go and will be shaded and look better than know)
ill add abit that has flying
i wanted to do an ironman style
2 problems i have a how could i simulate fly if i press up and stay up if i keep hold of up
and
using different weapons and swapping to each one
thanks for the help hopefully
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Jun 09, 2008 5:06 pm    Post subject: Reply with quote

Theres probably action script to check if a certain key was pressed. And then I'm pretty sure goto() in action script will take you to a certain animation/part of an animation.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Mon Jun 09, 2008 6:09 pm    Post subject: Reply with quote

I dont know about the flying, but you should check this:
http://www.pixelhivedesign.com/tutorials/Endless+Scrolling+Background/
Back to top
View user's profile Send private message MSN Messenger
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Tue Jun 10, 2008 5:47 am    Post subject: Reply with quote

Use something like

add event listener
if keyup = pressed (or w/e it is in flash i dont know by hard)
_level0.character._y += 1;

onkeyup != pressed
_level0.char._y -= 1;

and something like
if(_level0.char._y < _level0.ground._y{
_level0.char._x = _level0.ground._y
}

_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel
Back to top
View user's profile Send private message
Rednight
Grandmaster Cheater
Reputation: 0

Joined: 28 Oct 2007
Posts: 791

PostPosted: Tue Jun 10, 2008 1:05 pm    Post subject: Reply with quote

right now i dont want the background going forever ill add detail soon
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites