Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2016
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    adding object on top of another

    hey guys I've been trying to code a part of my game where an object from the library is spawned on top of another object for e.g. a red square is spawned on top of a blue square and a green square on top of the red, when the fourth square is spawned the blue square is deleted and another square is spawned on top such as a yellow square.

    There are many different colours and the new square spawning on top of the other is random. I know I have to use an array but don't know how to get the objects directly on top of each other. my character can go through these squares and once my character comes towards the end of a block another one is spawned.

  2. #2
    Banned
    Join Date
    Jul 2016
    Location
    25119 N. Aspen Grove Lane Colbert, WA 99005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Of course there will be a wrapper around both of them. You can management the place of the selection div which will be shown within the headlines div with remaining edges and top roles. You can also set the div selection to drift right if you like. Wish this assists.

  3. #3
    New to the CF scene
    Join Date
    Aug 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm a beginning rails programmer, attempting to show many images on a page. Some images are to lay on top of others. To make it simple, say
    http://www.diwaliwishesquotes2016.com/
    Last edited by vinyl-junkie; 08-21-2016 at 04:19 PM. Reason: removed link

  4. #4
    New to the CF scene
    Join Date
    Jan 2017
    Location
    Unit 1 Image House, Fordbridge Road, Sunbury Upon Thames, Middlesex
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A wrapper the will follow. Put some images then and it will be perfect on the go.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •