alastair's Recent Forum Activity

  • Seems you can only access tokens in text, but you can't change them. For instance I might want to change the 5th token in a string "0,3,1,6,34,21,0,0,etc."

    Is there a way to do it?

  • I don't see the conflict? The one I showed you creates the 32x32 sprites. The 'tiled background' is just for display.

  • Just in case anyone else uses this: it's best to change the range(200) to a higher value so that it shows more high resolutions, my 1600x1200 didn't show up in that range.

  • Based on what I think you meant:

    Basically when you start holding down mouse, make 2 variables of where mouseX and Y is. When you stop holding down mouse button make 2 variables of where mouseX and Y is.

    You now have enough coordinates to make a box. When mouse button is released make a loop for each side of the box, the length of the loop is based on the distance between each point of the box (then divide by 32 cause of your sprite size). Then create the sprite at the index of the loop.

    <img src="http://dl.dropbox.com/u/1024727/caps/selectbox.JPG" border="0">

    CAP example

    _

  • Wow, that's fantastic! Thanks for your time R0J0.

  • Thanks a lot tulamide! I really don't understand python much (only using it to change cursor in my game so far). Not sure how to get that pygame thing. Do I make a directory for it like I have with ctypes and do the "sys.path.append(System.AppPath + 'data')" at the start of the script? How would I access the list its made ("modelist = pygame.display.list_modes(32)") with events?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, just wondering how I can get what resolutions a users computer can do. I know you can get their desktop resolution, but I'd like to know of lower resolutions too.

    For instance, in many (most) games when you go to the video options they'll have a drop down list of the resolutions your computer can support. And I'd like to make a similar thing.

    Or do they just list any resolution thats not larger than your desktop resolution?

  • Don't stay up late at night! No later than 11:30 please.

    This is pretty cool though, Construct events are really bright at night!

  • For some reason thought this was about a new sprite font plugin.

  • I dunno why I put x there

  • Theres a 4 billion ways to do this, one way: "BaseHP +((lvl^2)*X)"

    Just change the 2 to 1.1 to be less dramatic or to 8 to be more dramatic.

alastair's avatar

alastair

Early Adopter

Member since 14 Jul, 2007

Twitter
alastair has 5 followers

Connect with alastair

Trophy Case

  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies