Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Basic Bingo App
Started by mark036 Aug 30 2018 08:53 AM

9 replies to this topic
bingo screen shot
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

mark036

[GLOBAL: userInfoPane.html]
mark036
  • Observer

  • 5 posts
  • Corona SDK

I am brand new to this. I want to create an app that has a grid of 25 boxes. Each row of boxes has a number designation that is randomized each game. IE: row 1 has 15 random letters between the 5 boxes. Row 2 has 15 letters etc. These boxes can be selected then sent to us with screen print through email, text, etc. Is there any tutorials or guides how to accomplish this? I was thinking of a Bingo app or something like that.

[TOPIC: post.html]
#2

horacebury

[GLOBAL: userInfoPane.html]
horacebury
  • Corona Geek

  • 2,975 posts
  • Corona SDK

There are tutorials on the site and you should take a look at the samples which come with the Corona app.



[TOPIC: post.html]
#3

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 270 posts
  • Corona SDK

Making a game or an app is a process.  If you are super newbie I think you should start with some display rects, texts and simple fuctions to make a start, then if you are experimenting some troubles, come here with some code, no with the whole idea cause its very difficult to be in your mind to know how exactly you want.

 

I recommend that you start with the Getting Started guide.

 

Good luck, and I would like to see you again with some code.

 

DoDi



[TOPIC: post.html]
#4

mark036

[GLOBAL: userInfoPane.html]
mark036
  • Observer

  • 5 posts
  • Corona SDK

I have done your basic balloon bounce exercise.  I was able to build the app.  This really didn't give me the information I need to progress.  What is the second step in developing skills etc.  I would like to learn, but this one exercise isn't enough.  Where do I go from here, with the app I described in mind. 



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,535 posts
  • Corona Staff

There are a couple of different things you're asking here. Perhaps focusing on part of the app that you're struggling with and narrowing the focus of what you need help with like selecting 5 items from a list of 15. Or drawing a 5x5 grid on the screen. Once you solve one part of the problem, then asking for the next part will help narrow down the scope. It will make it easier on the community to respond to you.

 

Now let me jump into the 5x5 grid. There are a couple of tutorials you might be able to draw some inspiration from:

 

https://coronalabs.com/blog/2014/08/12/tutorial-building-a-level-selection-scene/

 

That tutorial is probably a lot of overkill for what you're trying to do, but it does create a 5xN grid of numbers on the screen. You can cut through a lot of the fluff to get to just what's needed to create a grid.

 

 

This is a video tutorial on building the game of Tic-Tac-Toe, which if course is a 3x3 grid game. It probably cuts to the chase on creating a grid based display.

 

Rob



[TOPIC: post.html]
#6

mark036

[GLOBAL: userInfoPane.html]
mark036
  • Observer

  • 5 posts
  • Corona SDK

I followed tutorial but I am getting an error. unexpected symbol near '+'  I tried to restart and still get this error.  I entered and verified that everything was exact. 



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,535 posts
  • Corona Staff

There were two tutorials, so we have no idea which one you're using. It would be really helpful if you copy/paste the entire error message from the Corona console log. It would also be helpful if you posted the code around where you're getting the error and let us know what line number is causing the error in your code.

 

Rob



[TOPIC: post.html]
#8

mark036

[GLOBAL: userInfoPane.html]
mark036
  • Observer

  • 5 posts
  • Corona SDK

It was the first video of the tick tac toe game.  Just pulled it up again here is the log. 

 

07:33:12.953  
07:33:12.953  Corona Simulator 2018.3326 (Jun 25 2018 12:39:46)
07:33:12.953  
07:33:19.964  
07:33:19.964  Copyright © 2009-2018  C o r o n a   L a b s   I n c .
07:33:19.964  Version: 3.0.0
07:33:19.964  Build: 2018.3326
07:33:19.964  Platform: iPhone / x64 / 6.1 / Quadro FX 1700/PCIe/SSE2 / 3.3.0 / 2018.3326 / en_US | US | en_US | en
07:33:19.964  Loading project from:   C:\Users\BoiseTV\Documents\Corona Projects\tic tac toe
07:33:19.964  Project sandbox folder: C:\Users\BoiseTV\AppData\Local\Corona Labs\Corona Simulator\Sandbox\tic tac toe-46C25ED27892F80D745EBD09C07086B4\Documents
07:33:19.980  ERROR: Syntax error
07:33:19.980  C:\Users\BoiseTV\Documents\Corona Projects\tic tac toe\main.lua:14: unexpected symbol near '+'
 
Here is the code:
-----------------------------------------------------------------------------------------
--
-- main.lua
--
-----------------------------------------------------------------------------------------
 
-- Your code here I copied it exact from the tutorial.  Tried it with the correct spelling of Horizontal but still the same error.
 
local title= display.newText("Tick-Tac-Toe", display.contentCenterX, 25, native.systemFontBold, 20)
 
local leftVerticalLine = display.newRect( display.contentCenterX -50, display.contentCenterY, 5, 300)
local rightVerticalLine = display.newRect( display.contentCenterX +50, display.contentCenterY, 5, 300)
local topHorzontalLine = display.newRect( display.contentCenterX, display.contentCenterY, - 50, 300,5)
local bottomHorizontalLine = display.newRect( display.contentCenterX, display.contentCenterY, + 50, 300,5)
 


[TOPIC: post.html]
#9

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,509 posts
  • Corona SDK

There shouldn't be a comma after display.contentCenterY in the lines where it says -50 and +50.



[TOPIC: post.html]
#10

mark036

[GLOBAL: userInfoPane.html]
mark036
  • Observer

  • 5 posts
  • Corona SDK

Wow, sorry for that. I missed it. I appreciate your help.




[topic_controls]
[/topic_controls]