Proxymity's Forum Posts

  • If you design the starting plain in the editor then it's just a matter of creating other terrain where the plain ends.

    Let's consider creating the terrain to the right. You'll need two global variables for the X and y of the end of the terrain. You can set these values manually. Next you'll need a global variable to keep track of a random number. Your events could then look like this if each terrain piece was an object. Note the "---" means the event is a sub event.

    Global number X=400

    Global number y=409

    Global number terrain=0

    Start of layout

    Repeat 10 times

    > set terrain to int(random(3))

    --- terrain = 0

    --- > create forest at (X,y)

    --- > add 200 to X

    --- terrain = 1

    --- > create hills at (X,y)

    --- > add 300 to X

    --- terrain = 2

    --- > create grass at (X,y)

    --- > add 400 to X

    Start of layout

    > create right_cliff at (X,y)

    This is also assuming the values added to X are the width of the objects and the hotspot of the objects are positioned to the left.

    Anything more deluxe can be done in a similar fashion. For instance the terrain could consist of multiple created objects or you could even set tiles on a tilemap is you so desire, just be sure the tilemap is wide enough.

    Hi R0J0hound,

    thanks for this, great and slim, solution! This is pretty much exactly what I needed! Tryed it out with a Little example - later today I gonna test it out and will upload the *.capx. maybe others will find this helpful, too!

    Thanks, again!

    Have a great Weekend,

    Tan

  • Ill throw a look on it.. thats a possible starting point, thanks again!

    Have a great weekend,

    Tan

  • Here is the capx,

    Just have it spawn things every time the player get's sent back to the left of the layer

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    Hi ryrydawg!

    Thanks for your answer and the *.capx! Already thougth, no one would answer <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    Yes, the idea of it is what I wanted to do - but sadly I cant use it for the Project. Problem is, that you have this "fixed Screen" - I would like to include a dynamic camera, showing the area infront of you (when you turn the direction, camera is moved). In the end, the world Generator should build to right and left side. The Code for Building even one side is tricky (cant figure out a solution which doesnt Impacts the System too hard (if there is one!). I want to publish it as a universal app for Win10 (so it will mostly be on mobiles, for me to Play <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> - and others). I dont care ressource-managing for Computers, but maybe on 512mb devices it may get laggy, when you have 50 areasprites to the right and 50 on the left... plus sprites for characters (npcs), particles for atmospheric effects, enemies and projectiles, etc...

    [Off-Topic = 1]

    I never build something in C2, I like making math-systems like a skilltree with many different stats which Impacts on others in combination (Dark Souls- Series, the best "modern" game ever... <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">) and combat calculations, etc... Ive made tons of "tech-demos" from different Elements of the game (crappy graphics, Im not an Artist nor do I have the skill to just make it "quick and dirty" - but now, when I finally enhanced every element to a state where I am ok with it, I stand before such Problem, and Im not able to solve it <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked">

    [Off-Topic = 0]

    If everyone has an idea approach, I would be very thankful...!

    Have a great day,

    Tan 'Proxy' E.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im Feeling free to *push*

    No one gots an idea? Or is it that simple that Im too dumb for it?

  • Hello Reader!

    Somehow I cant figure out a rather "simple" Task.

    What I Need/want to do is: you got a start Position. The game operates at only 1 "layer" (means: no hills or something. The character stands on an even platform across the whole map). The start/spawn is always "the same". On triggering "new game" the world is created, before entering it.

    Now the question: how is it done best (tilemaps possible??) to create a world based on random numbers - e.g. number 1 is a plain, 400px in width, nr. 2 a forrest, 600px, nr. 3 a Meadow with a Little tree in the middle, 200px in width, nr. 4 a Bridge, 800px, nr. 5 a rocky area, 500px, etc.

    Now the "world Generator" grabs on "new game" (for example): start,3,3,5,1,3,2,4,etc. (lets say, there is a Maximum Count... lets make it 10 different Areas, then there is a huge mountain or a very big forrest, where you cannot pass.

    Best described by the (great, but sadly not rich in Features/Elements "Kingdom" (

    Subscribe to Construct videos now

    )). When I say "Kingdom", Im not wanting to clone it, but the gameplay itself (or the "backende") will be similar to it (watching the Trailer above describes best, what I want to do :s).

    How is this doable the best way? Cant figure out how this should work with tilemaps (unless you cant randomize them in a way, or am I wrong)?

    Thanks in Advantage!

    Have a great day,

    Tan 'Proxy' E.

    P.S.: sorry for my spelling - german Edge Browser Features a nice spellchecker, that is somehow racist - it only knows german and wont let you choose other languages nor let you write them without Messing it up... thanks Microsoft <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

  • Take a look at: https://www.scirra.com/store/games-with ... e-game-666

    Its really worth its money (bought it myself). This WILL help you with everything you need in a clicker game.

  • Servus!

    Depends on which kind of tutorials you are going to make. The Scirra YT series are very nice; if you plan such ones (maybe splitted into parts) I think you may have success. Maybe providing a *.CAPX example - or better - linking a tutorialoib@scirra tuts in the video description where the viewer can download the ressources.

    Tutorials are always good - in different languages even better. Even when you already know how to get the tutorial done without watching it, its a nice way to may learn better/improoved ways how to code; thats what I like most in tutorials

  • > Hmm I think what you need (in that scenario) is a server. When using the multiplayer feature, you can script a host version of your rooms which runs on a server (for that you will need a own server or someone who got one) - your game itself has actually only the client-sided code in it which isn't able to host something. I have seen this in a multiplayer example somewhere with the possibility to see other players and join rooms - worked perfectly.

    >

    yes i was thinking on that myself also last night after i replied .. but only switching the host to someone else... there is no need for a live server... that wold solve it.

    not sure how to do it though... il try make some tests on the official chat-room .. if that works.. it will be so awesome... cause people will think the Room is always on.. but actually is not..... its on as long as 1 guy is there.. its a bit confusing the condition and events inside of the example files.. they all say same thing.. if

    multiplayer.alias = myalias set me to peer

    multiplayer.alias = myalias set me to host i mean WTF? where is the logic lol...

    ah never mind i think i found a topic that was long time ago posted, about host migration.. i think thats what i need

    I knew it would be somewhere in my bookmarks - take a look at: https://www.scirra.com/tutorials/1003/page-1#tuttop this may help you <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> (example *.capx files are included!)

  • Hmm I think what you need (in that scenario) is a server. When using the multiplayer feature, you can script a host version of your rooms which runs on a server (for that you will need a own server or someone who got one) - your game itself has actually only the client-sided code in it which isn't able to host something. I have seen this in a multiplayer example somewhere with the possibility to see other players and join rooms - worked perfectly.

  • You mean something like opening your game on a browser/device and kept it open 24/7 - except that it isnt opened?

  • Im not trying to advertise or anything. But you should use Parse (and the Parse plugin), because I think it is perfect for this job.

    Thanks for the tip, goodfeet. I took a look on parse - and the firebase plugin from rex (had seen it somewhere linked in the thread).

    Both look good, but the problem I have (personally) is, that its somewhere else saved (I hate cloud related stuff, because you arent able change some options, like you would have when you got your own databaseserver/ftp/etc). I prefer having the chance of options. Also with the limits, parse seems a bit high (for a hobby project) and I dont think that the free plan is enough with its 30 actions/second - and firebase only got a decent capability of storage & connections (except the paid ones).

    Aim is having a register/login interface (and of course functionality, lol), a way to get C2 to download all the variables I need into the layout (directionary or an array), upload all changes whose were made to the variables - and a simple example of a query (leaderboard, get top values of (for example) strenght and show their IDs descending in a table).

    As Im not that unskilled in syntax I really need a "quick and dirty" template of all needed components.

    I may have someone who does this for me, but hes busy rigth now. So if someone has time and experience, talk to me

  • That was simple... thank you guys for your fast support! It works now

  • Why not just use the on start of layout destroy spieler, before you call the action to create them?

    by the way, you are calling a function, but there is no function, so you could just remove that alltogether..

    This should work:

    Thanks for your fast answer!

    Well, the function is a leftover of the mess I did when wanting to fix the frozen sprite.

    I changed the source to your suggestion, but its still not moving... <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

    "Optimized" version: http://www.file-upload.net/download-109 ... .capx.html

  • Hi there!

    At first, the topic isnt really what I need:

    I got a variable, lets call it "Current_Cats" (int, set to 5).

    The variable represents the amout of cats, whose are spawned on loading the layout/switching to a scene, whatever.

    I already did: spawning the amout of "Cats" on the layout; with pathfinding they also are moving randomly after the last path is completed.

    What is not working: outside of the layout is the reference of 1 "cat sprite", which is duplicated. That little *** isnt moving >.< it just stands there, not doing anything (... anything... it only has to move arround like the other ones).

    As a bonus: when the "Current_Cat" variable reaches 0, there should not be a single one.

    Bonus #2: if someone is bored, I would be thankful for a more optimized version ;-D (but you really dont have to, fixing the "frozen sprite" is more than enough!)

    The capx with beautiful graphics *spoiler* is provided here for you:

    http://www.file-upload.net/download-109 ... .capx.html (sorry for providing a freehoster... my ftp is down)

    P.S.: sorry for the german-ish code; "Existent_Spieler"="Existing_Players"; "Spieleranzahl"="Current_Players";"make_spieler"="create_player". Also: the toggled code is experimental, Ill take a look on it later, you dont have to note it.

  • Hi guys,

    Im seeking a dev for writing.. let me call it, a "framework" (AJAX/MySQL). Ive already tried it by myself, but AJAX doesnt like me and I havent got the time to dive deeper into it.

    What I need: the user should have a register/login functionallity, each account is bound to an ID (it should be simple, but like I said, wasnt able to do that >.>).

    Beside it, it could be handy to have a basic storage of 1 variable (e.g. "strength" or something), also with an example how to ask the MySQL DB about that var and import it to the game (C2), when needed. I really just need the blank code (with comments, in best case ;D).

    It should be used in first line for a rpg-ish PvP game (real-time PvP, 1v1, using a Database).

    When someone has the knowledge and time for it, feel free to contact me for more infos: i[at]proxymity[dot]de.

    Regards,

    Proxymity