My player in level 1 and get a mission from a NPC, then my player go to level 2 for doing this mission. When done my player come back to level 1 and NPC give my player some money (or weapon, item v..vv). Can i do it in RF? Because when a level is loading, all events in this level will be reset
This problem is very important in a RPG game, someone please help me how to do it
Can i do it and how?
Re: Can i do it and how?
You could try creating a duplicate level of level 1 and set the gold, weapons, items etc. There is probably a much better way to do this with complex scripting, but this is the simplest thing that came into my mind.
Over 3 years (has it been that long?) and just now I noticed the day and month of my birthday were switched. Whoops!
Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
Re: Can i do it and how?
Thank you very much GMer , but if there are many mission in one level, the problem can not be solved
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Can i do it and how?
Well in my game I'm using this one.I got a level from where you go to different missions,and when you complete a mission,you return to the same level,where a new mission is unlocked.I'm using the same map for this,but they are actually different levels.For example for the first time you spawn in MetalCity(that's the name of the level) and there is only one mission available,than when you play the mission you go to a different level,which is the same as the first one,but there is a second mission available.
Maybe I'll have to make a lot of levels for future,but I think that's the only decision.
Maybe I'll have to make a lot of levels for future,but I think that's the only decision.
Re: Can i do it and how?
Thankz so much metal_head, if that's the only decision, i think it's best way for me now, thank again
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Can i do it and how?
Well,I'm not sure it's the only decision,but it's the only one I know.Or maybe you can try saving your first level using attributes and when you complete the 2nd level an attribute is changed and for example a new mission is unlocked,but I'm not sure how to do that and if it'll work.
Re: Can i do it and how?
Okay, Jay say that: "To do somethign liek this, you must store all the states in attributes and apply them at each level start."
I will learn how to store all the states in attributes, hope it's not difficult
I will learn how to store all the states in attributes, hope it's not difficult