Drawing application on GameSalad?

lanthanoiderlanthanoider Member Posts: 2
edited November -1 in Working with GS (Mac)
hey all,
i'd like to try out GS, but first i need to know whether i can make kind of drawing application (like Autodesk Sketchbook or myPaint etc) inside a game with GS?
that means, you will play a game where you would draw sth during the game...is it possible?

thx in advance! ^^

Comments

  • SnowleapordSnowleapord Member Posts: 77
    Im pretty sure you can. But it will be pretty hard. we should suggest for gs to have one that can make applications.
    Nice question
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you could create a rule that spawns an actor when the user touches the screen. The actor that is spawned is simply a pixel (or it could be 2x2 or 4x4 etc.)

    this will give you the idea: http://gamesalad.com/game/play/8183
  • lanthanoiderlanthanoider Member Posts: 2
    thx all for the info!
  • POMPOM Member Posts: 2,599
    isnt spawning to much is risky for the iphone?!
    any other solution you found?
    im trying to figure out a different way for hours now.. please help
  • EastboundEastbound Member, BASIC Posts: 1,074
    You could use particles with an extremely long lifespan? I know that those create a lot less slow down, but you can't choose for them to be there for a long time or erase them in any way.
  • rebumprebump Member Posts: 1,058
    Short answer: No, not at this time unless you spawn actors.

    Well, you could come up with a scheme for each (straight!) line drawn, spawn a 1 or 2 pixel wide actor (say in the X dimension) that is then stretched (in the Y dimension) to length and rotated to fit the start and end points of the line drawn. It would use a lot less spawned actors than a spawn per pixel or small pixel group but then you are limited to straight line segments.

    I hope at some point there will be some simple drawing primitives (and hopefully vector based ones too) added to GS.
  • dereklaruedereklarue Member Posts: 121
    Game salad needs a draw sprite function, that would be pretty useful and pretty much wont cause iphone lag.
  • POMPOM Member Posts: 2,599
    agree with you guys.. i was hoping i could get a drawing app with GS..
    guess we will have to wait..
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    word on the street is that spawning is less laggy in 0.8.3.

    Maybe the spawn lots of small actors approach will now work
  • dereklaruedereklarue Member Posts: 121
    @scitunes:
    Where do you get your info? :o
    This would be great :D
  • rebumprebump Member Posts: 1,058
    Are Pro members privvy to new releases sooner (with NDAs)???

    ;-)
  • WeswogWeswog Member Posts: 1,171
    Here is a link to a video tutorial I made on How-To Make a Kinda Working Drawing System


    Here is a downloadable project for this here
    http://gamesalad.com/game/play/38606

    Cheers, Weswog
  • POMPOM Member Posts: 2,599
    weswog, i saw this tutorial, and tested it, it kinda work like you said, but the line isnt strait, it looks like it made from dots, is there a way to improve it?!
    and about the constant spawning, isnt that killing the memory?
    we need an effect that saves the current image every few seconds, and starts drawing on it,
    so it cleans the memory, again, any ideas?!
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Is it possible to load a scene with a bunch of tiny non-movable actors that are white and sit on top of a black background completely covering it. then you have a rule in the tiny white actors that when touch is pressed destroy this actor. When the actor is destroyed the black image behind it shows through. The scene would have to load a bunch of actors, but if they are non movable it may work on newer devices with 0.8.3

    just an idea. I've never actually tried it.
  • POMPOM Member Posts: 2,599
    maybe somehow destroy spawned actors that are fully covered by other actors?!
Sign In or Register to comment.