seperate battle screen

Game Editor comments and discussion.

seperate battle screen

Postby Fabiomafia1298 » Mon Jun 18, 2007 7:47 pm

can someone please explain (simply) how i can have a separate view for battles? like if i run into an enemy the screen changes and everything is different?
Fabiomafia1298
 
Posts: 11
Joined: Fri Jun 01, 2007 12:28 am
Score: 0 Give a positive score

Postby Jay S. » Mon Jun 18, 2007 9:30 pm

Well.... you can either have the battle take place in a seperate game level using the LoadGame function (and save the player's position using saveVars and loadVars), or you can have the battle take place somewhere else in the same level, and have the player "jump" over to that area; e.g., the view would move instantaneously over to the specified area.

Sorry, I'm probably not being much of a help... :(
User avatar
Jay S.
 
Posts: 118
Joined: Thu Apr 26, 2007 6:51 pm
Location: My computer desk. :P
Score: 9 Give a positive score

Postby jimmynewguy » Wed Jun 20, 2007 6:50 pm

I kind of have an idea for this that sum 1 with better script experience would have 2 try :lol:
make two variables, x and y:integer,actor available: and have a draw actor event for the player that says x = playersx and y = playersy and every time a battle started use save vars for x & y and at the end of the battle move the player to x and y, or something along those lines, i dont really know the exact scripting :oops: but mabey some 1 will catch my drift and make a demo for this so people will know the answer 2 this question. I suggest marslane try to solve this big propblem that (it seems) every one wants to know :shock: .
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Postby Troodon » Wed Jun 20, 2007 7:28 pm

You can always use the don't draw function and then have 100% separate views without even moving the view or loading new files. :D
Just draw and don't draw stuff when it's needed/not needed.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron