Wastrel's Forum Posts

  • and M&Ms are cool

    Agree to agree!

  • Newt, just to clarify, are you saying instead of doing this:

         Array(x,y) = i

    You want to be able to do this:

         Array(i) = (x,y)

  • Nice example, Why is it raining green M&Ms though? <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Adam, I haven't worked much with the Touch plug-in, but try the following and you will see the actions and methods you need to use:

    1. Create a new project

    2. In the layout, add the Touch plug-in

    3. In the layout, add a sprite

    4. In the event sheet, add an event: Touch:Device orientation is supported. This is a condition which checks to make sure that device orientation is supported. If it is, then the action will be executed.

    5. Add an action, and select your sprite

    6. Under the Size & Position section, select Set X

    7. When the prompt comes up, go to the Objects with expressions window, and select Touch

    Under the Orientation & Motion section, you will see the Acceleration methods. This should get you started. There are many others on the forums who will be able to help you with the specifics regarding the methods and the math involved.

    Good luck!

  • Welcome to the community!

    I think you will like C2 for a lot of reasons, but mostly for what other's have said: you can design and "construct" your game without having to worry about all of the programming details.

    But, if you decide later you do want to add some functionality, or customize your game, you have the option to create behaviors and plug-ins to add just about anything you need.

    You can also modify and expand the exported HTML and JS code to add your own touches, if you want to go that deep.

    That, the community, and the developer involvement and attention are what really sold C2 for me.

    Good luck and don't be a stranger!

  • Welcome to C2 and the forums, ubicray. I also came from a long time using Game Maker (under a different user name), and I can say that C2 and the Scirra community offer a much different experience.

    I'm not dogging on GM or the GM community. They have their own strengths and weaknesses. I just think you will find C2 and this community refreshing and to be a much different experience.

  • Noga, cue Pitfall flashbacks!

    Nice demo!

  • I think both views are valid in different situations.

    For instance, in the project I am currently working on, I use one sprite object with multiple different animation frames to represent one general type of object. When I need an object with a specific animation frame, I create it from the initial object then set the frame and some other variables. I also set a global variable, named for that specific item, to the new object's UID. This way, I can have one set of events for that general object type, then select the specific object using the global UID variable.

    This project, though, has a predetermined number of objects and has a very specific game path. Without using the UID and the general object type, the game logic would be a monster.

    On the other hand, in a game with a lot of random objects with no predetermined number of objects or specific game path, I can see that using the UID would not necessarily be useful, and newt's use of an index would be the way to go.

    I think it just depends on the situation.

    Still, this has been an excellent debate. Everyone was able to give their opinions without getting flamed, and that says a lot about this community.

  • One more suggestion to add to the enormous list: in the IDE, on the Layers tab, make the Layer items a treeview. When expanded, each layer item would then show all of the objects which are contained in that layer.

    Unless I have missed something, there doesn't seem to be any way in the IDE to see all of the objects contained in a layer.

  • zenox98, how are they different? I'm not sure what you mean.

    Ashley, I will magnanimously offer to re-invest the $5 back into Scirra, so you and Tom can work 5 minutes longer tonight. <img src="smileys/smiley2.gif" border="0" align="middle" />

    Yeah, apparently the newest AMD drivers don't like the 2600. I will just work around the issue for now and wait for a new laptop to fix the glitch.

  • Well, I can't see if updating the drivers helps, because they are causing my laptop to blue screen when I try to load C2. (I had this problem before)

    I will just work around it for now. I will be getting a new laptop soon, hopefully, so it will be moot anyway.

    Also, I tested it on a co-worker's PC, and the background displays properly. The problem is just with my poor old laptop (again).

    Thanks and sorry to bother you.

  • Nice job rex!

    BTW, when are you going to write Kyatric's "Make My Game" plug-in? <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Here is a screenshot: dl.dropbox.com/u/38038537/tiled_background_issue.png

    It's pretty big, so I didn't embed it.

    Graphics Card: ATI Mobility Radeon 2600 (you owe me $5 <img src="smileys/smiley17.gif" border="0" align="middle" />)

    Drivers: I just updated the drivers a month-and-a-half ago, but I just saw AMD released newer drivers on November 15th, so I will try those and see if that helps.

    I will also hijack a co-workers PC and test on there real quick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When I insert a large tiled background (1280x720) in the editor, it displays the full image, but the image is compressed. The tiled background object itself is the the proper size. I set the layout and window sizes to 1280x720.

    I also tried using a sprite object, but the same thing happens.

    This only happens in the layout editor. The image is the proper size in preview.

    Here is an example capx: tiled_background.capx

    The image i used is 1280x720. If you click on the image, you can see the tiled background object is the proper size, but the image itself is compressed to 800x506.

    Any help would be appreciated. Thanks!

  • Good catch, r0j0hound!