Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: A 3D game engine
Post: RE: A 3D game engine

(Mar-31-2021, 10:16 AM)markcopperman78 Wrote: Hi, I believe you are all familiar with the 2D game engine gdevelop. I'm looking for a 3D game engine that has a code-free and easy to use scripting met...
michael1789 Game Development 4 2,605 Apr-01-2021, 12:08 AM
    Thread: Python dictionary with values as list to CSV
Post: RE: Python dictionary with values as list to CSV

I'm not sure what you need. CVS stands for "Comma-separated values". It's very general. Is it a particular printing format you need, or do you want to save as .CVS?
michael1789 General Coding Help 4 1,048 Mar-27-2021, 04:22 PM
    Thread: More list help please!
Post: RE: More list help please!

(Mar-25-2021, 03:22 PM)Pytho13 Wrote: I thought this might work: while len (fruits_1) <5 but it just keeps looping through the code over and over. Well, the obvious question is whether or not ...
michael1789 General Coding Help 2 737 Mar-25-2021, 03:53 PM
    Thread: how to filter two fields in json using python
Post: RE: how to filter two fields in json using python

How does it not work? Wrong info or error? If it were me, I'd break that line up into single actions. Then use print statements to see that all my variables and processes are, and are doing, what I...
michael1789 General Coding Help 4 1,060 Mar-15-2021, 05:34 PM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

Serafim.... your OCD is showing! lol! It's busy for me with job and garden, so I'm going to discard all my 3d work and proceed 2d in this project. Plus, since I haven't actually played any games in ...
michael1789 Game Development 24 3,290 Mar-15-2021, 03:31 PM
    Thread: mixer failing in 2.0
Post: RE: mixer failing in 2.0

(Mar-14-2021, 11:43 PM)BashBedlam Wrote: Try this and let us know if it works... Okay? import pygame pygame.mixer.init() screen = pygame.display.set_mode ((400, 300)) pygame.mixer.music.load('music...
michael1789 Game Development 5 1,702 Mar-15-2021, 03:08 PM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

wow... later today I'll grab some sample code for a panda3d project and look it over and get plot 3d points I want. I can do the GUI with pygame. I'll start with "regen" button.
michael1789 Game Development 24 3,290 Mar-12-2021, 04:40 PM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

Good Work! I'm still working on visualization. I think I'm going to trash what I have and find an existing 3d module. Panda3d or something. I want to grow 3d trees and crystals fractally. Have a U...
michael1789 Game Development 24 3,290 Mar-11-2021, 03:27 AM
    Thread: Hex coords and using the tile
Post: RE: Hex coords and using the tile

Instead of a list, I'd use a dictionary for the game board. game_board = {} #loop over how you like adding hexes. game_board.update({x,y : Hex(x,y)})Then you can refer to them my location game_board[...
michael1789 Game Development 3 907 Mar-10-2021, 07:49 PM
    Thread: Hex coords and using the tile
Post: RE: Hex coords and using the tile

Are you using something like pygame for your input/graphics?
michael1789 Game Development 3 907 Mar-10-2021, 03:42 PM
    Thread: How realistic
Post: RE: How realistic

(Mar-09-2021, 11:57 PM)phvwijk Wrote: (Mar-08-2021, 02:33 AM)michael1789 Wrote: More than enough. Consider starting rather than trying to convince me you can't do it without even trying. The work...
michael1789 Homework 10 1,822 Mar-10-2021, 03:12 AM
    Thread: Simple Variable Saving in Loop
Post: RE: Simple Variable Saving in Loop

You don't show, but I guess that your loop is for j in...? Perhaps it would be easier for yourself to keep track of things by using the [inline]dictionary.update()[/inline] method rather than "="? ...
michael1789 General Coding Help 3 1,179 Mar-08-2021, 04:10 PM
    Thread: How realistic
Post: RE: How realistic

More than enough. Consider starting rather than trying to convince me you can't do it without even trying.
michael1789 Homework 10 1,822 Mar-08-2021, 02:33 AM
    Thread: How realistic
Post: RE: How realistic

(Mar-07-2021, 06:24 PM)phvwijk Wrote: (Mar-07-2021, 05:50 PM)michael1789 Wrote: How long do you have? That determines how realistic it is. Four weeks, and it is one of several classes where assig...
michael1789 Homework 10 1,822 Mar-07-2021, 09:02 PM
    Thread: How realistic
Post: RE: How realistic

How long do you have? That determines how realistic it is.
michael1789 Homework 10 1,822 Mar-07-2021, 05:50 PM
    Thread: Keeping the player within a polygon
Post: RE: Keeping the player within a polygon

Try moving the player, check for collision, and it there is move the player back to where it was.
michael1789 Game Development 6 1,483 Mar-06-2021, 06:31 PM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

(Mar-06-2021, 12:44 PM)Serafim Wrote: Use it, modify it to your taste or just skip it if it is not useful in your line of ideas. I'm just playing around a little when taking a rest from my own work....
michael1789 Game Development 24 3,290 Mar-06-2021, 06:26 PM
    Thread: return in a function
Post: RE: return in a function

Python dictionary. dict = {'alex' : 1, 'larry' : 2, 'mark' : 3} print(dict['mark'])
michael1789 News and Discussions 16 3,618 Mar-06-2021, 05:13 AM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

It's a start! def gen_fib(start, length): fib = [0, start] for i in range(length): fib.append(fib[-2] + fib[-1]) return fib class Fractal(): def __init__(self, game, pos): ...
michael1789 Game Development 24 3,290 Mar-06-2021, 12:05 AM
    Thread: Fibonacci graphics ideas?
Post: RE: Fibonacci graphics ideas?

I'm coming closer to how to visualize this stuff. I'll add dimensions one at a time, but the current plan is to generate repeating expanding pattern(fractal) of points. When I like that, I'll add/su...
michael1789 Game Development 24 3,290 Mar-04-2021, 06:09 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020