Archiverse Internet Archive
eddie ninteneddie
イギリス
誕生日04/19
ゲームの腕前上級者
利用したゲーム機ニンテンドー3DS
フレンド0/100
フォロー26
フォロワー41
投稿数365
そうだね数558
取得日時

Hello, call me ed and I love video games and programming them.

投稿のみ 投稿と返信
前のページ(最近)
1
次のページ(過去)
トピック
受付中
eddie ninteneddie

Line Intersection

I would like a method of finding out if two lines intersect when knowing the x and y of the start and end points of both lines.
0そうだね
未プレイ
返信[10]
親投稿
eddie ninteneddie
To change the information of these arrays I would refer to them like this. HOUSES[0,0] = 5 HOUSES[0,1] = 10 All this does is set the x and y of the first house to (5,10). Then later I could print a house back on screen by doing this. FOR I=0 to 4 LOCATE HOUSES[I,0] , HOUSES[I,1] PRINT "P" NEXT What this will do is go through every house and print them at their x and y position.
0そうだね
未プレイ
返信[9]
親投稿
eddie ninteneddie
Moogle, to make a map I would save the information into arrays. If you don't know what an array is it's similar to a variable but it can have lots of information within it. An array like this: "DIM HOUSES[5,2]". The first number represent how many houses are on the map and the second number is to represent the x and y position of each of them.
0そうだね
未プレイ
返信[7]
親投稿
eddie ninteneddie
To also add onto what Autz had said I would have added this to the end of the code: VYSNC 1 CLS What "VSYNC" will miss 1 frame out from your program in this case it's when you have to clear everything off screen to be painted on again. This will mean you won't be able to see the character disappear from the screen.
0そうだね
未プレイ
返信[1]
親投稿
eddie ninteneddie
To move your character try the following: 1) Change x and y positions when a corresponding button on the D-pad is pressed. 2) Have it draw characters on screen at those x and y positions. 3) Use Vsync by 1 frame. 4) Clear the character on screen. 5)Use a loop to return to the beginning and repeat.
0そうだね
未プレイ
返信[9]
親投稿
eddie ninteneddie
I just didn't like how when the European version was being considered "Petit Computer" was removed from the e-shop. It could have been an alternative.
0そうだね
未プレイ
返信[3]
親投稿
eddie ninteneddie
You can check of the position of one character would collide with the other by asking if the character position will be equal. This is because character align to grid, unlike sprites, so there positions can really only be whole numbers. In your case a players X position 17.6 but this would be rendered on screen at position 18. It will be rounded to the nearest interger.
0そうだね
未プレイ
トピック
eddie ninteneddie

Composing BackgroundMusic

I would like to start making my own background music. Can someone tell me how that is possible and also I will be doing this in the previous software (petit computer) - I don't know if there is any difference but just in case.
0そうだね
未プレイ
トピック
eddie ninteneddie

Read full Data

Is there any simplified way to read DATA? For example I want to store each number in the data into an array.
0そうだね
未プレイ
トピック
eddie ninteneddie

Print Line

When I use the print command it prints the text on the same lime. How can I move onto the next line before printing text?
1そうだね
未プレイ
トピック
eddie ninteneddie

What are the new features in Smile Basic

What is new about Smile Basic? I have wondered what new feature are in this. I have been really impressed by all of the games that people have managed to make in Smile Basic than in Petit Computer.
3そうだね
未プレイ
返信[6]
親投稿
eddie ninteneddie
From now I think you should follow this link ( http://www.instructables.com/id/Making-Your-First-Game-on-a-3DS-With-SmileBASIC/ ). This is a step by step guide to make a simple game; it will go through other commands that are useful for a game and explain how to use them. What I have told is really important to making games which you may need in the future.
1そうだね
未プレイ
返信[5]
親投稿
eddie ninteneddie
Now moving onto adding and subtracting numbers. Here is an example. Age = Age + 1 This simply adds 1 onto the variable Age. To do subtract is simply say. Age = Age - 1
1そうだね
未プレイ
返信[4]
親投稿
eddie ninteneddie
Arrays are done in a similar ways, the only difference is that they can store multiple information into a single word. For example I'll make an array filled with numbers. DIM Number[2] Now I should have a list of 3 numbers. To change these numbers I would say.. Number[0] = 1 Number[1] = 2 Number[2] = 3
1そうだね
未プレイ
返信[3]
親投稿
eddie ninteneddie
Here is a quick test. Type any variable you want then add PRINT (variable name); For example Age = 32 PRINT Age; In my case when running the program you should get it saying 32 then end.
1そうだね
未プレイ
返信[2]
親投稿
eddie ninteneddie
Firstly, I think it is good to start with data. As you may now programming has all sorts of way to save information. To make a standard game I think you should know variables and arrays. A variable will be written like this... HP = 100 From writing this the game will now now that at any point you say "HP" it will use the number 100.
1そうだね
未プレイ
返信[1]
親投稿
eddie ninteneddie
I'm willing to teach you on some basic things about Smile Basic. However I never go this version released in my region. I will have to teach you from a Petit Computer ( Smile Basic v2) perspective. This won't change much but there will some features that I miss such as 3d, circle pad and motion controls.
1そうだね
未プレイ