Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - billy bob

Pages: [1] 2
1
Thanks, but, sorry. That wasn't the problem. It doesn't work because if you keep it on pause then if there is power then the power goes when resumed and if there isn't power then if you keep it on pause then when resumed the power appears and if the speed = 2 then if you keep it on pause then when resumed the speed = 1.

2
Could anyone help? :'(

3
I've been trying to create a pause mechanism but it only almost works:



If KeyHit(28) Or KeyHit(156) Then
Goto Pause
EndIf
Goto Resume
.Pause
If KeyHit(1) Then
lives = 0
Goto Resume
EndIf
If KeyHit(28) Or KeyHit(156) Then
FlushKeys
Goto Resume
EndIf
Goto Pause
.Resume



It doesn't work because if you keep it on pause then if there is power then the power goes when resumed and if there isn't power then if you keep it on pause then when resumed the power appears and if the speed = 2 then if you keep it on pause then when resumed the speed = 1.

This is another thing I've been trying to work out for months.

4
Thank you! ;D :D ;D

5
The smile not being able to reach the area where the aliens are was what I was hoping for. Seeming as you could still cheat. ;)

The game is here though. :)

6
It's been two weeks and I still haven't solved it. Can anyone help?

Please?

7
I've been understanding things a lot more and have upgraded the game lots! :D

Although I still have a problem. :(

The smile is able to reach the aliens. And the power is able to be in the alien area. This is a problem because you can cheat by terminating aliens on the top row then go to the top row then you are safe there. I've been editing the code (for months) which makes it so the smile can't go off the edge but I haven't been able to do it. :( Help please? :)

8
Hi, if I'd understand it correctly, this is what you are looking for (attached).
Thanks a lot of lots! :D

I also had to alter it slightly. I changed it into

    If ImagesCollide (img_smile,x,y,0,img_power,image_x,image_y,0) Then
      image_x=Rand(0,843-ImageWidth (img_power))
      image_y=Rand(0,585-ImageHeight(img_power))
      mode=1
      score = score + 50
   End If

End If

 ;)

9
(Sorry for posting two times in a row but I realized if I edited my last then not many people would read it until the next post comes.)
I copy and pasted the .txt doc of you source ( you know you can include .bb in zips ) and into Blitz3D. I don't know where my copy of blitz basic is at the moment ) and ran it, and it worked.
I misunderstood this.  ;) If you download it, it does work. But the thing is is that I want it so there is an image collision between Smile and Power. :kewl: Look at my previous post:
I've been trying to put an image collision with the "power" image and the "smile" image, but haven't succeeded. My guess is it is something like this (but of course it isn't ???):


If ImagesCollide (img_bullet,power\x,power\y,0,img_smile,x,y,0)
mode=1
score + 50
EndIf


Help please? :)

10
What are you using to compile with? Blitz Basic, Blitz3D, Blitz Plus?
At this moment I'm using Blitz Basic (it (sort of) says in the title).

11
When I try it says "variable must be a type". Unless I have put it in the wrong place. ;)

But if you have got it working, could you help me please? :kewl:

12
All the things are in the attachment below.

13
The attachment is above.

14
I've been trying to put an image collision with the "power" image and the "smile" image, but haven't succeeded. My guess is it is something like this (but of course it isn't ???):


If ImagesCollide (img_bullet,power\x,power\y,0,img_smile,x,y,0)
mode=1
score + 50
EndIf


Help please? :)

15
Thank you so much Jim! :D

16
OK it is in the attachment below.

Also in the previous version there was a glitch: If you collected two or more bombs at the same time then you would get an amount of lives that were below 0. That glitch no longer occurs in the new version.

17
I would like to upload my attempts but I deleted them in November.

I would give you the recentest version, but when I try it gives me an error.

Would it be OK if I uploaded it in an attachment?

18
Sorry I can't put this code with the other code, its been a while since I last did this but I did try lots (also sorry for posting two times in a row).

19
Thanks Clyde :) , I will try to put that into the rest of the code, I will ask for help if I can't. ;)

20
I think Blitz wants the key
Until KeyDown(1)

Thanks, but it still doesn't work.....

Pages: [1] 2