Whiteclaws's Forum Posts

  • Hey all,

    I was playing around with the midpoint-displacement algorithm a bit until I realized that I'd need a seed to make word generation consistent, but I didn't find any way to seed the random number generator as of yet, so yeah, Is there any ways of seeding the random number generator

    Thank you all for reading and have a nice day!

  • Colludium

    Are these compatible with CocoonJS and other exporters?

    Otherwise, I'll give it a shot!

    Thank you and have a nice day

  • Apologies if this has already been answered, but most of the answers I found around were obsolete (Or maybe I didn't look around enough),

    So, I'd like to know which system variable gives us the size of the device's screen, preferably mobiles.

    Thank you for reading and have a nice day!

  • apex General, It would be appreciated if you started a new thread, rather than necro-ing another one

  • Metroidvania is really a genre that is in the spotlight these days

    I'd be a genre started by Super Metroid and later refined by Castlevania Symphony of the Night

    Basically a game where you explore a huge map and have to find items to advance to harder/advanced sections of the map

  • codah

    Oh don't worry, it's all in there under the hood, just waiting to jump scare you with 500+ additionnal lines of code

    Trust me, i've been there and I coded that

  • "Premature optimisation is root of evil"

    Don't worry about it, As long as it's not a problem "yet", Make your game, and rest assured that Ashley (Boss) got our backs

    I believe stuff is loaded layout-by-layout, so each minigame could be a layout, etc.

  • You can't gain Swag

    You're born with it

    -Eugene SwagMeister 2014

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here you go pal

    [quote:1joxxe9z]How do I embed games?

    Copy the code below the game.

    Go to your website, blog or whatever.

    Paste the code

    Also, what are you using to build your website, It might be that it doesn't support embedding games on it

  • Clash of Clans way (?)

    Well, you could do what codah told you to, but that would be insecure, as values would be saved (I think) on your phone and that would make it easy for somebody with good knowledge of programming, to change those values at will, and thus cheat

    What games like Clash of Clans do is keep up a server on another PC, that the device calls via the internet, to give it all the information about your houses and how much time they need to finish up building

    It is certainly possible in C2 via maybe Websockets, but that's a long story ... You might want to check out the manual on multiplayer servers and such

  • I was on Tigs first so yeah

  • You! wait... you?

  • Hm? There is a Video Object? Or is it a plugin?

    Either way, best thing to do right now is to link 'dat capx

  • Yeah, that's rude, C2 is already dirty cheap, You can look elsewhere but don't expect else

  • Halt! You are under arrest for Orthographic Mistake in the title! (gasp) It's gonna be a 50$ fine, ma' boy ... now type safe, and don't forget, the grammar police is watching you!

    But seriously, there's many threads on this already, and there's no MAGIC button in game making, you gotta work hard to get it done, and even harder on mobile because hardware is limited, one tip is to count everything you do, for example, you update a text on start of layout, that shouldn't take much time, maybe 1 millisecond? (I'm probably overextending but eh, just for the suspense), now, then, you see another guy, updating 20 texts every tick, with some math, we can deduct that, he's updating 20 * 60 texts every seconds (fps is probably not the equal to the ticks per second, but just for the sake of consistency), that gives you, 1200 texts updated EVERY SECOND, do that for all your events then tell me how much events trigger every second ... you'll be wowed, there's where optimization comes in, you gotta cut down the Eps, by for example updating texts only when value goes up, or put a value you need multiple times in your calculation into a variable (1 + 5), stuff like that, and you'll see how your performance will skyrocket