Spider_hip's Recent Forum Activity

  • This is great thanks.

    I wonder how can I check if the specific point's rgba equals to some specific rgba ?

    I mean I want to check if (127,50) location's color is rgba(127,127,127,1) or not.

  • Hi all,

    For pc export, is it possible to create a xml file like (save1.xml, save2.xml) to save game with variables as I want. Then check folder if there are save files already. Read from xml to load. Plus I can use this to load general game data at start. So game would be moddable.

    Simple xml file example

    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <save1>
        <money value="13.000000" />
    </save1>[/code:2c8o2s9b]
    
    There is this functionality on game develop engine but it lacks many other features compared to C2. Even you can create folders with it's "execute command" function like ("mkdir data\save") and also you can create file with ("copy /y NUL data\save\save1.xml >NUL") . And you can easily write and read data. Is it so difficult to create a function like that to execute msdos like commands? Or is it impossible beceause C2 mostly targets browser instead of pc.
    
    My dream engine would load images,sound files, and datas(xml txt vs) from directories.
  • This is a great example. It's nice to read from xml files. But what about saving back to xml file ? Is there a way to create a xml file, and save them into it? (For windows, node-webkit projects) .

  • I'm using landscape option and it works. But it turns to other landscape if I tilt device to other side and wait. In my game player moves with tilting.

    I added browser object and

    on start of layout -> lock oriantation to primary landscape

    But it didn't effect anything, it still turns to other lanscape.

    I'm using crosswalk.

    It seems, its very difficult to make such an easy tilting game to android with c2 or I suck

    Here is my other problem about my game

    https://www.scirra.com/forum/how-do-i-prevent-device-on-getting-sleep-mode_t110632

  • I'm using crosswalk as compiler. In my game I'm using only tilt as moving so device quickly gets in sleep mode.

    They say it's done in AndroidManifest.xml with <uses-permission android:name="android.permission.WAKE_LOCK" /> code.

    But there in no AndroidManifest.xml file in c2 export. So how it's done in c2 ?

    Thank you.

  • @those who wants newline fix

    Newline seems to work actually with wordpad. So maybe there wont be need to fix newline. Works great with wordpad, but doesnt recognise the command with notepad.

    ----------------------------------

    My problem is;

    If I export my project with nodewebkit(desktop) and save file, It doesnt create and save any file ? Almost in any engine or language its possible to create new files (save files, xml files, data files, save images) Why it is so difficult, almost impossible with C2 ?

  • Thank you for this nice effect. Will it work with also animation sprites. If so how ? Do I also need to add mapping for each frames ? Did you ever try this

  • Well, as I know;

    player.x should be lesser than chest.x + 250

    and player.x should be higher than chest.x -250

    player.y should be lesser than chest.y + 250

    and player.y should be higher than chest.y - 250

    and for exact calculation you should add or subtract chest.width and chest.height

    Also as I know;

    you can use and invisible sprite where chest is located which has 500 width and 500 height. So you can use, if chest clicked, if player collides with invisible sprite. than open chest.

  • Hi all.

    I have a function to generate my world(2d array), and I repeat it 2 times to get nice result. It takes approximatly 2 seconds to run function 2 times. I will add a few more functions to improve my map generator. So Probably it will take about 10 seconds approximatly to generate world when I'm done with it.

    So I need a progress bar. (like minecraft etc) To tell player lands created, players located, height adjusted etc.

    So basicly I tried this for my 2 times loop.

    <img src="https://dl.dropbox.com/u/56268958/progress.jpg" border="0" />

    But I only see progress bar with 450 width. I can't see 225 witdh after first loop. It freezes until function called 2 times. What do I have to do ?

  • Yeah I wonder that too. It was very easy to use. Maybe It wasn't enough for everybody. But It was pretty enough for me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all...

    I wonder that is it possible to create a Parallax Scrolling Website with c2.

    I think I can make Parallax Scrolling effect with c2, with mouse scroll event. But will it be a really Parallax Scrolling website or will it be a html5 game ?

  • I liked your crazy tower game. I think you should make more of this genre.

Spider_hip's avatar

Spider_hip

Member since 15 May, 2011

None one is following Spider_hip yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies