Questions tagged [displayobject]

224 questions
0
votes
2 answers

Pass display group object byref in Lua/Corona?

I've been teaching myself how to use Corona to develop a mobile game (which has been going great so far!) but I've run into a snag. I have a function that checks whether a guy bumps into a coin. If he does, the coin is removed: function…
0
votes
1 answer

why it take long time to check if element is displayed?

I want to know if there's any method which can make me check if elements is displayed on UI faster. I've compared that if the element is shown on UI, then my code will be quickly get the result, while, if the element is not shown on UI, my code will…
Stella
  • 1,504
  • 2
  • 16
  • 25
0
votes
2 answers

C++ Combine two strings for displayBMP

Currently working on a Lottery project for my CompSci class. I've got 40 lottery ball images (1.BMP to 40.BMP) and I want to use a for loop to display each ball. I can display them just fine if I call displayBMP all 40 times, but there has to be a…
cerealspiller
  • 1,401
  • 3
  • 14
  • 23
0
votes
2 answers

Tic Tac Toe in Java

I am writing a tic tac toe game in java. Right now I am currently stuck on the display board method. The board I am trying to create has lines in which the X's and O's will go into. The error I am currently getting is TicTac2.java:56: error:…
jSeesFor3ver
  • 83
  • 4
  • 16
0
votes
2 answers

In CoronaSDK, how can I handle a tap event from a hidden displayObject?

I am displaying a single png image on screen which contains various levels that the player can tap on. I create the image using: local levelsImage = display.newImage("assets/levelmap-levels.png", 0, 0, true) I then overlap circles on top of each…
Teevus
  • 1,104
  • 1
  • 10
  • 23
0
votes
1 answer

How do I grab an image on a server and display on a html page?

I am trying to get a canvas that I have saved to pop up in my html window. Not sure how to grab it on the html page because the save generates a random name for the image. The Save code: function saveImage() { cursor.visible = false;…
user2157847
0
votes
1 answer

html display:none is not wotking for mobile devices

I am using the following html code to hide the registration buttons on www.eventbrite.com: **