therevills

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 272 total)
  • Author
    Posts
  • in reply to: Continue Line #11284

    therevills
    Participant

    My preference would be to use “And” / “Or” as the line continuation instead of .. if possible 🙂

    in reply to: Continue Line #11278

    therevills
    Participant

    Yeah, but I needed an ElseIf for all the conditions 🙂

    [/crayon]

    In one place I did split it up like so:

    [/crayon]
    in reply to: Diddy2 #11275

    therevills
    Participant
    in reply to: Continue Line #11273

    therevills
    Participant

    Good! Thought I was missing something and I was trying everything to get it to work 🙂

    In MonkeyX1 I had:

    [/crayon]

    But in Monkey2 its currently:
    If _level.GetCollisionTile(tempX - w2 , position.y + h2 - 1 ) = 0 And _level.GetCollisionTile(tempX - w2 , position.y - h2) = 0 And _level.GetCollisionTile(tempX - w2 , position.y) = 0

    (hmmm that is meant to be one long line…)

    So its a bit long to read nicely…

    in reply to: Continue Line #11270

    therevills
    Participant

    Is there a format to split an “IF” statement over multiple lines?

    in reply to: Tiled #11259

    therevills
    Participant

    How are you going with this?

    Using the Map class, I could not read the correct Bool type, which always returns False

    What was the issue?

    in reply to: Diddy2 #11213

    therevills
    Participant

    Maybe, but I’m a Java developer so like to use encapsulation when I can 🙂

    But for Struts, I’ve decided on having them public.

    in reply to: Diddy2 #11199

    therevills
    Participant

    A player can be a sprite or a player can have a sprite… 😉

    Anyway I had a head scratching issue last night with Vec2s: Position.X += Speed.X didnt work. Position is an auto property which returns a Strut! So pass by value! D’oh! I’d forgot that Vec2s are Struts!

    Changed all the private Vec2s fields in Diddy2 to public fields and removed the auto properties!

    in reply to: Home Run Solitaire! #11198

    therevills
    Participant

    Out now on Steam! Includes Steam Achievements!

    http://store.steampowered.com/app/725170/Home_Run_Solitaire/


    therevills
    Participant

    If you havent seen, Mark has replied here:

    http://monkeycoder.co.nz/forums/topic/worried/#post-11132

    in reply to: Diddy2 #11137

    therevills
    Participant

    @amon – let me know what you think!

    Added AnimationBank which is automatically added to Sprite:

    [/crayon]
    in reply to: Worried #11136

    therevills
    Participant

    I concur with Adam, that is great to hear Mark!

    I’ve really been digging Monkey2 for a couple of weeks now, the language is great and it just works!

    I know I havent added anything to Patreon, but have bought both modules on itch (which should be advertised here too!) so I hope that has helped a tiny bit.

    Hope Monkey2 has a long and happy future!

    in reply to: Diddy2 #11119

    therevills
    Participant

    Well I’ve been pretty busy with Diddy2 over the past week:

    https://github.com/therevills/diddy2/commits/master

    * Added TexturePacker support
    * Added ChanelManager
    * Added SoundAsset
    * Fixed a bunch of issues

    Just committed a WIP animation system in the example:
    https://github.com/therevills/diddy2/blob/master/examples/diddy2test.monkey2

    Most of that will be moved to the Sprite class very soon!

    in reply to: Powered by Monkey 2 logo. #11094

    therevills
    Participant

    Most of those logos are for the company, not for a language.

    You need examples of products, such as Oracle DB:

    Or Game Maker 2:

    Or HTML5:

    Or UE4:

    Construct 2:

    Until an official one has been decided on I’m using this one:

    and

    in reply to: Diddy2 #11056

    therevills
    Participant

    So I’ve restarted coding for Diddy2…

    It’s early days and I’m going to use it for the Syntax Bomb Halloween Challenge, so building code when I need it.

    Attachments:
Viewing 15 posts - 91 through 105 (of 272 total)