beds's Recent Forum Activity

  • yep already know that, my player verify's it's own variables, thanks anyway, i'm not new to game programming, besides GM, i did a little bit of java, c++, python, i could probably do almost any kind of 2d games with those, specially python, but i have trouble with object oriented, so for now i would have to code it all in a single file, what is magic with construct and GM is that it does it all for you, plus you have a graphical interface to see exacly what you're doing, i am now migrating to construct simply because 1: it's open source, 2:from what i readed until now if i'm not mistaken construct is written in c++(i'm i right?) so if the 3d features continue to evolve it will be much faster than GM that is written in delphy, 3: i already knew when i downloaded it that it was compatible with python scripts, but i was making research for more advanced tutorials about that, and it seems that there is ways to use other language too.

    So all of it makes it a lot more flexible than gameMaker, the only things in it that i found was missing, to be able to execute a script as an action(i know you can do it as an event), and a "create" event, that would be an event that would execute it's action only when the object is created, like in gamemaker, it's similar to the object propreties in construct, but more flexible in a way, but beside that i'm starting to like it a lot!!!

  • daamee: thank you but Davioware's solutions was exacly what i was loocking for, the link that you sended seem to be for scripting, but thanks anyway because once i'll be familiar enough with the interface that's what i want to learn, like in gamemaker i don't event use a single "drag & drop" actions exept for the script one, i used for about a week or two at the begining, but quickly converted to script.

  • hi again, sorry again to post what may be a nubbish question, but i was looking at the documentation on how to add sound to the game. My problem is not to understand how, but the "project" tab that is supposed to be in the bottom right corner is not there, do i have to enable it somewhere? here's a screen :

    <img src="http://img62.imageshack.us/img62/8968/construct.png">

  • Hi all, i'm new to construct, but i have used gamemaker and other programs for a couples of years now and understand very well the mecanics behind a game, so as i learn how to use construct, i will makes small tutorials on how to achieve certain things that i found is not very well documented in game development, specially the rpg part, search on google on how to make a rpg...3/4 of the results will be rpg are hard to make blablabla... start by small program... it's true, i do not suggest to start with a rpg with your first game, but the basics of it are very good to learn to understand well how a variable work.

    so here it is, my first construct tutorial. first i suggest that you follow the ghost shooter tutorial if you haven't already done so, and maybe keep the project to follow this tutorial if you don't have another project ready.

    First you will need to create 3 new variables in your player object, called "lvl" ,"xp","maxXp", leave the lvl and xp to 0, and put 100 into the maxXp(or whatever you want) this is the value to reach to level up.

    no go to your event sheet editor, into the event were your enemy dies(destroy) add a new action, select the player object, in private variables, select add value, select xp in the list and put in 10(or whatever you want it to give xp).

    Now add a new event, select the player object, now in the private variables tab select compare private variables, select "xp" as the variable, change the operation to "greater or equal", and in the value box put in: player('maxXp') and click finish.Add an action, in private variable select add to value, select "lvl" as the variable, put 1 as the value and click finish. Add another action, in private variable select substract from value, select xp as the variable, and in the value input: player('maxXp') and click finish, add a last action(for this tutorial),in private variable select add value, select maxXp as the variable, and input as the value: player('maxXP').

    And that's it, now everytime your xp reach the xpMax value or more, the level goes up by one, the value of the maxXp is subtracted from the xp,this is important, you don't want to just put it back to 0, because if you have enemies that give more xp than you need to level up, the over xp will be lost. And at last when you level up you maxXp doubles!!! Enjoy

    edit : here's an exemple using ghost shooter : http://www.megaupload.com/?d=QS50723F

    a also made my own movement for the monsters, not using bullet behavior.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thank you very much!! I already checked this link, but found nothing about comparing two varibles, maybe i didn't check a the right place, but anyway thank you!!

  • Hi all, i'm new to construct, i'm a gamemaker user, but just discovered construct and i'm starting to like it a lot lol, i am experimenting with it and trying to implement a level up system into the ghost tutorial, my question is, how do i compare a variable to another one? for exemple i have i private variable called xp and another one called maxXP, i tried in the comparision event, but it tell's me that maxXp is not a recognised expression or usable object name. is there another way that i should do it? also tried str(maxXp) and player.maxXp, but nothing work.

    thanks in advance for the answers, and sorry for my english, i'm french.

beds's avatar

beds

Member since 5 May, 2011

None one is following beds yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies